package bean;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Plan entity. @author MyEclipse Persistence Tools
 */

public class Plan implements java.io.Serializable {

	// Fields

	private Integer pid;
	private Employee employee;
	private Department department;
	private String content;
	private String enddate;
	private String completestate;
	private Date startdate;
	private Set reports = new HashSet(0);

	// Constructors

	/** default constructor */
	public Plan() {
	}

	/** minimal constructor */
	public Plan(Employee employee, Department department, String content,
			String enddate, String completestate, Date startdate) {
		this.employee = employee;
		this.department = department;
		this.content = content;
		this.enddate = enddate;
		this.completestate = completestate;
		this.startdate = startdate;
	}

	/** full constructor */
	public Plan(Employee employee, Department department, String content,
			String enddate, String completestate, Date startdate, Set reports) {
		this.employee = employee;
		this.department = department;
		this.content = content;
		this.enddate = enddate;
		this.completestate = completestate;
		this.startdate = startdate;
		this.reports = reports;
	}

	// Property accessors

	public Integer getPid() {
		return this.pid;
	}

	public void setPid(Integer pid) {
		this.pid = pid;
	}

	public Employee getEmployee() {
		return this.employee;
	}

	public void setEmployee(Employee employee) {
		this.employee = employee;
	}

	public Department getDepartment() {
		return this.department;
	}

	public void setDepartment(Department department) {
		this.department = department;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getEnddate() {
		return this.enddate;
	}

	public void setEnddate(String enddate) {
		this.enddate = enddate;
	}

	public String getCompletestate() {
		return this.completestate;
	}

	public void setCompletestate(String completestate) {
		this.completestate = completestate;
	}

	public Date getStartdate() {
		return this.startdate;
	}

	public void setStartdate(Date startdate) {
		this.startdate = startdate;
	}

	public Set getReports() {
		return this.reports;
	}

	public void setReports(Set reports) {
		this.reports = reports;
	}

}